package com.bayss.web.mock.utils;

import java.util.Date;
import java.util.Random;

/**
 * User: helen
 * Time: 2016/2/22.
 */
public class ValueUtil {

    private static final Random RANDOM = new Random();

    public static int getIntValue() {
        return RANDOM.nextInt();
    }

    public static long getLongValue() {
        return RANDOM.nextLong();
    }

    public static float getFloatValue() {
        return RANDOM.nextFloat();
    }

    public static double getDoubleValue() {
        return RANDOM.nextDouble();
    }

    public static boolean getBooleanValue() {
        return RANDOM.nextBoolean();
    }

    public static Date getDateValue() {
        return new Date();
    }

}
